package cn.com.yx.ms.domain.mq;

/**
 * MQ数据请求类型（request = 上行 | reponse = 下行）
 * Created by zhul on 2017/3/10.
 */
public enum MqType {

    request("request", 0),
    response("response", 1);

    private String name;
    private int index;

    private MqType(String name, int index) {
        this.name = name;
        this.index = index;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }
}
